using System;
using HgAdapter;

namespace HogoLogic
{
	[Serializable]
	public class HogoProject
	{
		string projectFolder = string.Empty;

		public string ProjectFolder
		{
			get { return projectFolder; }
		}

		public HogoProject(string projectFolder)
		{
			this.projectFolder = projectFolder;
		}
		
		public static HogoProject InitProject(string folderPath)
		{
			(new HgInit()).Run(folderPath);
			return new HogoProject(folderPath);
		}
	}
}
